from database import db


class Admin(db.Model):
    __tablename__ = 'Admin'
    eid = db.Column(db.INTEGER(), primary_key=True, unique=True)
    password = db.Column(db.String(100), nullable=False)
    name = db.Column(db.String(100), nullable=False)
    isadmin = db.Column(db.INTEGER(), nullable=False)
    sex = db.Column(db.INTEGER(), nullable=False)
    score = db.Column(db.FLOAT(), nullable=False)